/*
 * @Descripttion: 
 * @Author: 银河以北
 * @Date: 2023-03-01 21:48:35
 * @LastEditors: 银河以北
 * @LastEditTime: 2023-03-05 15:20:24
 */

// 引入vue router
import { createRouter, createWebHistory } from 'vue-router'

// 路由配置
const routes = [{
  path: '/',
  name: 'home',
  meta: {
    title: "瀑布流"
  },
  component: () => import('@/view/home/index.vue')
}, {
  path: '/about',
  name: 'about',
  meta: {
    title: "关于"
  },
  component: () => import('@/view/home/about.vue')
}]
// 创建 vueRouter 实例
const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router